<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OptSearchProjectPrint.aspx.cs" Inherits="OptSearchProjectPrint" title="Project Monitoring System" culture="auto:en-US" uiculture="auto" meta:resourcekey="PageResource1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="Ip.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div align="center">
            <table width="100%">
                <tr>
                    <td align="center" width="100%">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red" Width="100%" CssClass="error"></asp:Label>
                    </td>
                </tr>
            </table>

            <asp:Button ID="btnExport" runat="server" OnClick="btnExport_Click1" Text="Export" meta:resourcekey="btnExportResource1" />
            <br />
            <asp:GridView CssClass="Grid" ID="gvResults" runat="server" 
					BackColor="#DEBA84" 
					BorderColor="#660000"
					BorderStyle="Solid" 
					BorderWidth="1px" 
					CellPadding="0" 
					CellSpacing="0" 
					Width="95%"
					Height="1%" 
					AllowSorting="True" 
					AutoGenerateColumns="False"
					meta:resourcekey="gvResultsResource1">
                    <Columns>
                        <asp:BoundField DataField="ProjectCode" HeaderText="Project Code" ItemStyle-Wrap="false" meta:resourceKey="BoundFieldResource1" />
                        <asp:BoundField DataField="ClientName" HeaderText="Client" meta:resourceKey="BoundFieldResource2" ReadOnly="True" />
                        <asp:BoundField DataField="Country" HeaderText="Country" meta:resourceKey="BoundFieldResource3" ReadOnly="True" />
                        <asp:BoundField DataField="Type" HeaderText="Type" meta:resourceKey="BoundFieldResource4" />
                        <asp:BoundField DataField="Agent" HeaderText="Agent" meta:resourceKey="BoundFieldResource5" ReadOnly="True" />
                        <asp:BoundField DataField="Title" HeaderText="Title" meta:resourceKey="BoundFieldResource6" />
                        <asp:BoundField DataField="Applicant" HeaderText="Applicant" meta:resourceKey="BoundFieldResource7" />
                        <asp:BoundField DataField="ResponsiblePerson" HeaderText="Responsible Person" meta:resourceKey="BoundFieldResource8" ReadOnly="True" />
                        <asp:BoundField DataField="Status" HeaderText="Status" meta:resourceKey="BoundFieldResource9" />
                        <asp:BoundField DataField="Inventor" HeaderText="Inventor" meta:resourceKey="BoundFieldResource10" />
                        <asp:BoundField DataField="LatestHeadingCode" HeaderText="Stage" meta:resourcekey="BoundFieldResource11" />
                        <asp:BoundField DataField="LatestNextDueDate" DataFormatString="{0:d}" HeaderText="Next Due Date" HtmlEncode="False" meta:resourcekey="BoundFieldResource12" />
                        <asp:BoundField DataField="ProjectClass" HeaderText="Project Class" meta:resourcekey="BoundFieldResource13" />
                        <asp:BoundField DataField="Remark" HeaderText="Remark" meta:resourcekey="BoundFieldResource14" />
                    </Columns>
				    <HeaderStyle CssClass="GridHeaderStyle" ForeColor="White" />
				    <RowStyle CssClass="GridRowStyle" />
				    <AlternatingRowStyle CssClass="GridAltRowStyle" />
				    <SelectedRowStyle CssClass="GridSelectedRowStyle" />
				    <PagerStyle CssClass="GridPagerStyle" ForeColor="White" />
				    <FooterStyle CssClass="GridFooterStyle" />
            </asp:GridView>
       </div>
    </form>
</body>
</html>
